# 创建1~1000000的列表，求最小值、最大值、和
nums = [num for num in range(1,100_00001)]
print(f"min is {min(nums)}")
print(f"max is {max(nums)}")
print(f"sum is {sum(nums)}")